export default {
  markdown: {
    title: "Markdown编辑器",
    switchToMarkdown: "切换到Markdown",
    switchToPlainText: "切换到纯文本",
    permissionRequired: "需要管理员权限或有效的API密钥才能创建分享，请",
    loginOrAuth: "登录管理后台或配置API密钥",
    form: {
      title: "标题",
      titlePlaceholder: "为这个分享添加标题（可选）",
      remark: "备注",
      remarkPlaceholder: "为这个分享添加备注（可选）",
      customLink: "自定义链接后缀",
      customLinkPlaceholder: "自定义链接后缀（可选）",
      password: "访问密码",
      passwordPlaceholder: "设置访问密码（可选）",
      expiryTime: "过期时间",
      expiryNever: "永不过期",
      expiryHour: "小时后过期",
      expiryDay: "天后过期",
      expiryWeek: "周后过期",
      expiryMonth: "月后过期",
      maxViews: "最大查看次数",
      maxViewsPlaceholder: "限制查看次数（0为不限制）",
      visibility: "可见性",
      publicAccess: "公开",
      publicAccessHelper: "关闭时仅管理员和创建者可访问",
      createShare: "创建分享",
      creating: "创建中...",
    },
    shareLink: "分享链接:",
    copyLink: "复制链接",
    copyRawLink: "复制原始文本直链",
    showQRCode: "显示二维码",
    linkCopied: "链接已复制到剪贴板",
    rawLinkCopied: "原始文本直链已复制到剪贴板",
    copyFailed: "复制失败，请手动复制",
    linkExpireIn: "链接将在 {seconds} 秒后隐藏",
    qrCodeTitle: "分享二维码",
    qrCodeGenerating: "生成中...",
    qrCodeScanToAccess: "扫描二维码访问分享内容",
    downloadQRCode: "下载二维码",
    qrCodeDownloaded: "二维码已下载",
    copyFormats: "复制格式",
    copyAsMarkdown: "复制为Markdown",
    copyAsHTML: "复制为HTML",
    copyAsPlainText: "复制为纯文本",
    exportAsWord: "导出为Word文档",
    exportAsPng: "导出为PNG图片",
    exportDocumentTitle: "Markdown导出文档",
    markdownCopied: "已复制为Markdown格式",
    htmlCopied: "已复制为HTML格式",
    plainTextCopied: "已复制为纯文本格式",
    editorPlaceholder: "在此输入Markdown内容...",
    plainTextPlaceholder: "在此输入纯文本内容...",
    toolbar: {
      importFile: "导入文件",
      clearContent: "清空内容",
      copyFormats: "复制格式",
    },
    messages: {
      contentEmpty: "内容不能为空",
      creating: "正在创建分享...",
      createSuccess: "分享创建成功！",
      createFailed: "保存失败",
      linkOccupied: "链接后缀已被占用，请更换其他后缀",
      contentTooLarge: "内容过大，请减少内容长度",
      unknownError: "未知错误",
      editorNotReady: "编辑器未准备就绪",
      autoSaveFailed: "自动保存失败",
      restoreContentFailed: "恢复内容失败",
      qrCodeGenerateFailed: "生成二维码失败",
      confirmClearContent: "确定要清空所有内容吗？",
      generatingWord: "正在生成Word文档...",
      wordExported: "Word文档已生成并下载",
      wordExportFailed: "导出失败，请稍后重试",
      exportingPng: "正在导出PNG图片...",
      pngExported: "PNG图片已导出并下载",
      pngExportFailed: "导出PNG失败，请稍后重试",
      corsImageError: "由于跨域限制，部分图片可能无法正确显示在导出图片中",
    },
    validation: {
      slugInvalid: "链接后缀只能包含字母、数字、连字符、下划线和点号",
      slugTooLong: "链接后缀不能超过50个字符",
      slugReserved: "此链接后缀为系统保留，请使用其他后缀",
    },
  },
};
